##############################################################################
#
#    Copyright (c) 2005 - 2012 by Vivante Corp.  All rights reserved.
#
#    The material in this file is confidential and contains trade secrets
#    of Vivante Corporation. This is proprietary information owned by
#    Vivante Corporation. No part of this work may be disclosed,
#    reproduced, copied, transmitted, or used in any way for any purpose,
#    without the express written permission of Vivante Corporation.
#
##############################################################################


"$(DEFFILE)" : $(AQROOT)\hal\os\libGAL.def.mak
    @copy << "$(DEFFILE)"
;
; !! Do not edit this file - it is automatically generated !!
;

LIBRARY libGAL

EXPORTS
    ;gcoOS
    gcoOS_AcquireMutex
    gcoOS_AddSignalHandler
    gcoOS_Allocate
    gcoOS_AllocateContiguous
    gcoOS_AllocateNonPagedMemory
    gcoOS_AtomConstruct
    gcoOS_AtomDecrement
    gcoOS_AtomDestroy
    gcoOS_AtomIncrement
    gcoOS_Close
    gcoOS_CloseSocket
    gcoOS_CloseThread
    gcoOS_Connect
    gcoOS_Construct
    gcoOS_CreateMutex
    gcoOS_CreateSignal
    gcoOS_CreateThread
    gcoOS_DebugBreak
    gcoOS_DebugFatal
    gcoOS_DebugTrace
    gcoOS_DebugTraceZone
    gcoOS_Delay
    gcoOS_DeleteMutex
    gcoOS_DebugStatus2Name
    gcoOS_Destroy
    gcoOS_DestroySignal
    gcoOS_DeviceControl
    gcoOS_EnableDebugBuffer
    gcoOS_Flush
    gcoOS_Free
    gcoOS_FreeContiguous
    gcoOS_FreeLibrary
    gcoOS_FreeNonPagedMemory
    gcoOS_FreeThreadData
    gcoOS_GetBaseAddress
    gcoOS_GetCPUTime
    gcoOS_GetCurrentProcessID
    gcoOS_GetCurrentThreadID
    gcoOS_GetCwd
    gcoOS_GetDebugLevel
    gcoOS_GetDebugZone
    gcoOS_GetEnv
    gcoOS_GetMemoryUsage
    gcoOS_GetMemorySize
    gcoOS_GetPLSValue
    gcoOS_GetPos
    gcoOS_GetProcAddress
    gcoOS_GetProfileTick
    gcoOS_GetTicks
    gcoOS_GetTime
    gcoOS_GetTLS
    gcoOS_HexStrToInt
    gcoOS_HexStrToFloat
    gcoOS_LoadLibrary
    gcoOS_MapUserMemory
    gcoOS_MemCmp
    gcoOS_MemCopy
    gcoOS_MemFill
    gcoOS_Open
    gcoOS_Print
    gcoOS_PrintStrSafe
    gcoOS_PrintStrVSafe
    gcoOS_QueryProfileTickRate
    gcoOS_QueryVideoMemory
    gcoOS_Read
    gcoOS_ReadRegister
    gcoOS_ReleaseMutex
    gcoOS_Seek
    gcoOS_Send
    gcoOS_SetDebugFile
    gcoOS_ReplaceDebugFile
    gcoOS_SetDebugLevel
    gcoOS_SetDebugLevelZone
    gcoOS_SetDebugShaderFiles
    gcoOS_SetDebugZone
    gcoOS_SetDebugZones
    gcoOS_SetPLSValue
    gcoOS_SetPos
    gcoOS_Shutdown
    gcoOS_Signal
    gcoOS_Socket
    gcoOS_StackPush
    gcoOS_StackPop
    gcoOS_StackDump
    gcoOS_Stat
    gcoOS_StrCatSafe
    gcoOS_StrCmp
    gcoOS_StrCopySafe
    gcoOS_StrDup
    gcoOS_StrStr
    gcoOS_StrFindReverse
    gcoOS_StrLen
    gcoOS_StrNCmp
    gcoOS_StrToFloat
    gcoOS_StrToInt
    gcoOS_UnmapUserMemory
    gcoOS_Verify
    gcoOS_WaitSignal
    gcoOS_Write
    gcoOS_WriteRegister
    gcoOS_ZeroMemory
    gcoOS_CacheFlush
    gcoOS_CacheInvalidate
    gcoOS_CacheClean
    gcoOS_DetectProcessByName

!IFNDEF VIVANTE_NO_3D
    gcoOS_GetDisplay
	gcoOS_GetDisplayByIndex
    gcoOS_GetDisplayInfo
    gcoOS_GetDisplayInfoEx
    gcoOS_GetDisplayVirtual
    gcoOS_GetDisplayBackbuffer
    gcoOS_SetDisplayVirtual
    gcoOS_DestroyDisplay
    gcoOS_CreateWindow
    gcoOS_GetWindowInfo
    gcoOS_DestroyWindow
    gcoOS_DrawImage
    gcoOS_GetImage
    gcoOS_CreatePixmap
    gcoOS_GetPixmapInfo
    gcoOS_DrawPixmap
    gcoOS_DestroyPixmap
	gcoOS_LoadEGLLibrary
    gcoOS_FreeEGLLibrary
    gcoOS_ShowWindow
    gcoOS_HideWindow
    gcoOS_SetWindowTitle
    gcoOS_CapturePointer
    gcoOS_GetEvent
    gcoOS_CreateClientBuffer
    gcoOS_GetClientBufferInfo
    gcoOS_DestroyClientBuffer
!ENDIF

    ; debug dump functions
    dbg_dumpIR
    dbg_dumpCode
    dbg_dumpOptimizer
    dbg_dumpShader
    gcDumpOption

!IFNDEF VIVANTE_NO_3D
    ; gcsMEM
    gcfMEM_InitFSMemPool
    gcfMEM_FreeFSMemPool
    gcfMEM_FSMemPoolGetANode
    gcfMEM_FSMemPoolFreeANode
    gcfMEM_FSMemPoolFreeAList
    gcfMEM_InitAFSMemPool
    gcfMEM_FreeAFSMemPool
    gcfMEM_AFSMemPoolGetANode
    gcfMEM_AFSMemPoolFreeANode
!ENDIF

    ; gcoHAL
    gcoHAL_AddFrameDB
    gcoHAL_Call
    gcoHAL_Commit
    gcoHAL_Compact
    gcoHAL_Construct
    gcoHAL_Destroy
    gcoHAL_DestroySurface
    gcoHAL_DumpFrameDB
    gcoHAL_Get2DEngine
    gcoHAL_GetDump
    gcoHAL_GetTimerTime
    gcoHAL_IsFeatureAvailable
    gcoHAL_MapMemory
    gcoHAL_ProfileEnd
    gcoHAL_ProfileStart
    gcoHAL_QueryChipIdentity
    gcoHAL_QueryChipMinorFeatures
    gcoHAL_QueryPowerManagementState
    gcoHAL_QueryTiled
    gcoHAL_QueryVideoMemory
    gcoHAL_ScheduleEvent
    gcoHAL_ScheduleUnmapMemory
    gcoHAL_ScheduleUnmapUserMemory
    gcoHAL_SetPowerManagementState
    gcoHAL_SetTimer
    gcoHAL_UnmapMemory

!IFNDEF VIVANTE_NO_3D
    gcoHAL_Get3DEngine
	gcoHAL_Query3DEngine
	gcoHAL_Set3DEngine
	gcoHAL_Get3DHardware
	gcoHAL_Set3DHardware
    gcoHAL_QueryShaderCaps
    gcoHAL_QueryStreamCaps
    gcoHAL_QueryTargetCaps
    gcoHAL_QueryTextureCaps
    gcoHAL_QueryTextureMaxAniso
    gcoHAL_SetDepthOnly
!ENDIF
    gcoHAL_SetHardwareType

    ; gcoDUMP
    gcoDUMP_AddSurface
    gcoDUMP_Construct
    gcoDUMP_Control
    gcoDUMP_Delete
    gcoDUMP_Destroy
    gcoDUMP_DumpData
    gcoDUMP_FrameBegin
    gcoDUMP_FrameEnd
    gcoDUMP_IsEnabled
    gcfDump
    gcfDumpApi
    gcfDumpArray
    gcfDumpArrayToken
    gcfDumpApiData
    gcfDumpBuffer
	gcfDumpFrameRate

    ; gcoSURF
    gcoSURF_Blend
    gcoSURF_Blit
    gcoSURF_Clear2D
    gcoSURF_Construct
    gcoSURF_ConstructWrapper
    gcoSURF_CPUCacheOperation
    gcoSURF_Destroy
    gcoSURF_DisableAlphaBlend
    gcoSURF_EnableAlphaBlend
    gcoSURF_Fill
    gcoSURF_FilterBlit
    gcoSURF_Flush
    gcoSURF_GetAlignedSize
    gcoSURF_GetAlignment
    gcoSURF_GetColorType
    gcoSURF_GetFormat
    gcoSURF_GetSize
    gcoSURF_IsValid
    gcoSURF_Line
    gcoSURF_Lock
    gcoSURF_MapUserSurface
    gcoSURF_MonoBlit
    gcoSURF_QueryFormat
    gcoSURF_QueryOrientation
    gcoSURF_QueryReferenceCount
    gcoSURF_ReferenceSurface
    gcoSURF_SetBuffer
    gcoSURF_SetClipping
    gcoSURF_SetColorType
    gcoSURF_SetDither
    gcoSURF_SetOrientation
    gcoSURF_SetRotation
    gcoSURF_SetWindow
    gcoSURF_Unlock
    gcoSURF_SetOffset
	gcoSURF_GetTiling

!IFNDEF VIVANTE_NO_3D
    gcoSURF_Clear
    gcoSURF_ClearRect
    gcoSURF_Copy
    gcoSURF_CopyPixels
    gcoSURF_DisableTileStatus
    gcoSURF_EnableTileStatus
    gcoSURF_SetTileStatus
    gcoSURF_FillFromTile
    gcoSURF_GetSamples
    gcoSURF_IsTileStatusSupported
    gcoSURF_IsRenderable
    gcoSURF_ReadPixel
    gcoSURF_Resample
    gcoSURF_Resolve
    gcoSURF_ResolveRect
    gcoSURF_PrepareRemoteResolveRect
    gcoSURF_RemoteResolveRect
    gcoSURF_ResolveFromStoredRect
    gcoSURF_ExportRenderTarget
    gcoSURF_ImportRenderTarget
    gcoSURF_GetRTSignal
    gcoSURF_SetResolvability
    gcoSURF_SetSamples
    gcoSURF_WritePixel
    depr_gcoSURF_Resolve
    depr_gcoSURF_ResolveRect
    gcoSURF_SetLinearResolveAddress
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcoINDEX
    gcoINDEX_Bind
    gcoINDEX_BindOffset
    gcoINDEX_Construct
    gcoINDEX_Destroy
    gcoINDEX_Free
    gcoINDEX_GetIndexRange
    gcoINDEX_Load
    gcoINDEX_Lock
    gcoINDEX_QueryCaps
    gcoINDEX_SetDynamic
    gcoINDEX_Unlock
    gcoINDEX_Upload
    gcoINDEX_UploadDynamic
    gcoINDEX_UploadOffset
!ENDIF

    ; gco2D
    gco2D_Blit
    gco2D_BatchBlit
    gco2D_Clear
    gco2D_ColorLine
    gco2D_Construct
    gco2D_ConstructColorBrush
    gco2D_ConstructMonochromeBrush
    gco2D_ConstructSingleColorBrush
    gco2D_Destroy
    gco2D_DisableAlphaBlend
    gco2D_EnableAlphaBlend
    gco2D_EnableAlphaBlendAdvanced
    gco2D_EnableUserFilterPasses
    gco2D_FilterBlit
    gco2D_FilterBlitEx
    gco2D_Flush
    gco2D_FlushBrush
    gco2D_FreeFilterBuffer
    gco2D_GetMaximumDataCount
    gco2D_GetPackSize
    gco2D_Line
    gco2D_LoadPalette
    gco2D_LoadSolidBrush
    gco2D_MonoBlit
    gco2D_ProfileEngine
    gco2D_SetAutoFlushCycles
    gco2D_SetBitBlitMirror
    gco2D_SetBrushLimit
    gco2D_SetClipping
    gco2D_SetColorSource
    gco2D_SetColorSourceAdvanced
    gco2D_SetColorSourceEx
    gco2D_SetFilterType
    gco2D_SetKernelSize
    gco2D_SetMaskedSource
    gco2D_SetMaskedSourceEx
    gco2D_SetMonochromeSource
    gco2D_SetPixelMultiplyModeAdvanced
    gco2D_SetPorterDuffBlending
    gco2D_SetSource
    gco2D_SetSourceColorKeyAdvanced
    gco2D_SetSourceColorKeyRangeAdvanced
    gco2D_SetSourceGlobalColorAdvanced
    gco2D_SetStretchFactors
    gco2D_SetStretchRectFactors
    gco2D_SetTarget
    gco2D_SetTargetColorKeyAdvanced
    gco2D_SetTargetColorKeyRangeAdvanced
    gco2D_SetTargetEx
    gco2D_SetTargetGlobalColorAdvanced
    gco2D_SetTransparencyAdvanced
    gco2D_SetTransparencyAdvancedEx
    gco2D_SetUserFilterKernel
    gco2D_SetYUVColorMode
    gco2D_StretchBlit
    gco2D_EnableDither
    gco2D_SetGenericSource
    gco2D_SetGenericTarget
    gco2D_FilterBlitEx2
    gco2D_SetCurrentSourceIndex
    gco2D_MultiSourceBlit
    gco2D_SetROP
    gco2D_SetGdiStretchMode

!IFNDEF VIVANTE_NO_3D
    gco3D_Clear
    gco3D_ClearHzTileStatus
    gco3D_ClearRect
    gco3D_ClearTileStatus
    gco3D_ComposeLayer
    gco3D_CompositionBegin
    gco3D_CompositionEnd
    gco3D_CompositionSignals
    gco3D_Construct
    gco3D_Destroy
    gco3D_DrawIndexedPrimitives
    gco3D_DrawIndexedPrimitivesOffset
    gco3D_DrawPrimitives
    gco3D_DrawPrimitivesCount
    gco3D_DrawPrimitivesOffset
    gco3D_EnableBlending
    gco3D_EnableDepthWrite
    gco3D_EnableDither
    gco3D_EnableTextureStage
    gco3D_InvokeThreadWalker
    gco3D_ProbeComposition
    gco3D_Semaphore
    gco3D_SetAALineTexSlot
    gco3D_SetAALineWidth
    gco3D_SetAllEarlyDepthModes
    gco3D_SetAlphaCompare
    gco3D_SetAlphaReference
    gco3D_SetAlphaReferenceF
    gco3D_SetAlphaReferenceX
    gco3D_SetAlphaTest
    gco3D_SetAlphaTextureFunction
    gco3D_SetAntiAlias
    gco3D_SetAntiAliasLine
    gco3D_SetAPI
    gco3D_SetBlendColor
    gco3D_SetBlendColorF
    gco3D_SetBlendColorX
    gco3D_SetBlendFunction
    gco3D_SetBlendMode
    gco3D_SetCentroids
    gco3D_SetClearColor
    gco3D_SetClearColorF
    gco3D_SetClearColorX
    gco3D_SetClearDepthF
    gco3D_SetClearDepthX
    gco3D_SetClearStencil
    gco3D_SetColorTextureFunction
    gco3D_SetColorWrite
    gco3D_SetCulling
    gco3D_SetDepth
    gco3D_SetDepthCompare
    gco3D_SetDepthMode
    gco3D_SetDepthOnly
    gco3D_SetDepthRangeF
    gco3D_SetDepthRangeX
    gco3D_SetDepthScaleBiasF
    gco3D_SetDepthScaleBiasX
    gco3D_SetEarlyDepth
    gco3D_SetFill
    gco3D_SetFogColorF
    gco3D_SetFogColorX
    gco3D_SetFragmentColorF
    gco3D_SetFragmentColorX
    gco3D_SetFragmentConfiguration
    gco3D_SetLastPixelEnable
    gco3D_SetLogicOp
    gco3D_SetPointSizeEnable
    gco3D_SetPointSprite
    gco3D_SetScissors
    gco3D_SetShading
    gco3D_SetStencilAll
    gco3D_SetStencilCompare
    gco3D_SetStencilDepthFail
    gco3D_SetStencilFail
    gco3D_SetStencilMask
    gco3D_SetStencilMode
    gco3D_SetStencilPass
    gco3D_SetStencilReference
    gco3D_SetStencilWriteMask
    gco3D_SetTarget
    gco3D_SetTetxureColorF
    gco3D_SetTetxureColorX
    gco3D_SetTextureAlphaMask
    gco3D_SetTextureColorMask
    gco3D_SetViewport
    gco3D_WriteBuffer
    gco3D_UnsetTarget
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcoTEXTURE
    gcoTEXTURE_AddMipMap
    gcoTEXTURE_AddMipMapFromClient
    gcoTEXTURE_AddMipMapFromSurface
    gcoTEXTURE_BindTexture
    gcoTEXTURE_Construct
    gcoTEXTURE_ConstructSized
    gcoTEXTURE_Destroy
    gcoTEXTURE_Disable
    gcoTEXTURE_Flush
    gcoTEXTURE_GetClosestFormat
    gcoTEXTURE_GetMipMap
    gcoTEXTURE_GetMipMapFace
    gcoTEXTURE_IsComplete
    gcoTEXTURE_IsRenderable
    gcoTEXTURE_QueryCaps
    gcoTEXTURE_RenderIntoMipMap
    gcoTEXTURE_SetEndianHint
    gcoTEXTURE_Upload
    gcoTEXTURE_UploadCompressed
    gcoTEXTURE_UploadSub
!ENDIF

    ; gcsRECT
    gcsRECT_Height
    gcsRECT_Set
    gcsRECT_Width
    gcsRECT_Rotate

!IFNDEF VIVANTE_NO_3D
    ; gcoHARDWARE
    gcoHARDWARE_QueryTextureCaps
    gcoHARDWARE_QueryShaderCaps
    gcoHARDWARE_QueryIndexCaps
    gcoHARDWARE_QueryStreamCaps
!ENDIF

    ; gcoBRUSH
    gcoBRUSH_Destroy

!IFNDEF VIVANTE_NO_3D
    ; gcSHADER
    gcOptimizeShader
    gcLinkShaders
    gcLoadShaders
    gcSaveProgram
    gcLoadProgram
    gcLinkKernel
    gcLoadKernel
    gcInvokeThreadWalker
    gcSHADER_AddAttribute
    gcSHADER_AddFunction
    gcSHADER_AddKernelFunction
    gcSHADER_AddLabel
    gcSHADER_AddOpcode
    gcSHADER_AddOpcode2
    gcSHADER_AddOpcodeConditional
    gcSHADER_AddOpcodeConditionalFormatted
    gcSHADER_AddOpcodeConditionalFormattedEnable
    gcSHADER_AddOpcodeIndexed
    gcSHADER_AddOpcodeConditionIndexed
    gcSHADER_AddOutput
    gcSHADER_AddOutputIndexed
    gcSHADER_AddSource
    gcSHADER_AddSourceAttribute
    gcSHADER_AddSourceAttributeIndexed
    gcSHADER_AddSourceAttributeFormatted
    gcSHADER_AddSourceAttributeIndexedFormatted
    gcSHADER_AddSourceConstant
    gcSHADER_AddSourceConstantFormatted
    gcSHADER_AddSourceIndexed
    gcSHADER_AddSourceSamplerIndexed
    gcSHADER_AddSourceSamplerIndexedFormatted
    gcSHADER_AddSourceUniform
    gcSHADER_AddSourceUniformIndexed
    gcSHADER_AddSourceUniformFormatted
    gcSHADER_AddSourceUniformIndexedFormatted
    gcSHADER_AddUniform
    gcSHADER_AddUniformEx
    gcSHADER_AddVariable
    gcSHADER_AddVariableEx
    gcSHADER_UpdateVariable
    gcSHADER_BeginFunction
    gcSHADER_BeginKernelFunction
    gcSHADER_Construct
    gcSHADER_Copy
    gcSHADER_Destroy
    gcSHADER_EndFunction
    gcSHADER_EndKernelFunction
    gcSHADER_GetAttribute
    gcSHADER_GetAttributeCount
    gcSHADER_GetUniform
    gcSHADER_GetUniformCount
    gcSHADER_GetVariable
    gcSHADER_GetVariableCount
    gcSHADER_GetKernelFunction
    gcSHADER_GetKernelFunctionCount
    gcSHADER_GetCompilerVersion
    gcSHADER_CheckValidity
    gcSHADER_GetConstantMemorySize
    gcSHADER_GetPrivateMemorySize
    gcSHADER_GetLocalMemorySize
    gcSHADER_GetType
    gcSHADER_GetKernelFunctionByName
    gcSHADER_Load
    gcSHADER_LoadEx
    gcSHADER_LoadHeader
    gcSHADER_LoadKernel
    gcSHADER_Pack
    gcSHADER_ReallocateAttributes
    gcSHADER_ReallocateFunctions
    gcSHADER_ReallocateOutputs
    gcSHADER_ReallocateUniforms
    gcSHADER_ReallocateVariables
    gcSHADER_Save
    gcSHADER_SaveEx
    gcSHADER_SetOptimizationOption
    gcSHADER_SetCompilerVersion
    gcSHADER_SetConstantMemorySize
    gcSHADER_SetPrivateMemorySize
    gcSHADER_SetLocalMemorySize
    gcSHADER_SetMaxKernelFunctionArgs
    gcSHADER_GetOutputByName
    gcSHADER_CheckBugFixes10
    gcOPT_OptimizeLoadtimeConstant

!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcATTRIBUTE
    gcATTRIBUTE_GetName
    gcATTRIBUTE_GetType
    gcATTRIBUTE_IsEnabled
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcFUNCTION
    gcFUNCTION_ReallocateArguments
    gcFUNCTION_AddArgument
    gcFUNCTION_GetArgument
    gcFUNCTION_GetLabel
    gcKERNEL_FUNCTION_ReallocateUniformArguments
    gcKERNEL_FUNCTION_AddUniformArgument
    gcKERNEL_FUNCTION_GetUniformArgumentCount
    gcKERNEL_FUNCTION_GetUniformArgument
    gcKERNEL_FUNCTION_SetCodeEnd
    gcKERNEL_FUNCTION_ReallocateImageSamplers
    gcKERNEL_FUNCTION_AddImageSampler
    gcKERNEL_FUNCTION_GetImageSamplerCount
    gcKERNEL_FUNCTION_GetImageSampler
	gcKERNEL_FUNCTION_AddKernelFunctionProperties
	gcKERNEL_FUNCTION_GetPropertyCount
	gcKERNEL_FUNCTION_GetProperty
    gcKERNEL_FUNCTION_ReallocateArguments
    gcKERNEL_FUNCTION_AddArgument
    gcKERNEL_FUNCTION_GetArgument
    gcKERNEL_FUNCTION_GetLabel
    gcKERNEL_FUNCTION_GetName
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcUNIFORM
    gcUNIFORM_GetName
    gcUNIFORM_GetSampler
    gcUNIFORM_GetType
    gcUNIFORM_GetTypeEx
    gcUNIFORM_GetFormat
    gcUNIFORM_GetFlags
    gcUNIFORM_SetFormat
    gcUNIFORM_SetFlags
    gcUNIFORM_SetValue
    gcUNIFORM_SetValueF
    gcUNIFORM_SetValueX
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcoSTREAM
    gcoSTREAM_Construct
    gcoSTREAM_Destroy
    gcoSTREAM_Flush
    gcoSTREAM_Lock
    gcoSTREAM_Reserve
    gcoSTREAM_SetDynamic
    gcoSTREAM_SetStride
    gcoSTREAM_Unlock
    gcoSTREAM_Upload
    gcoSTREAM_UploadDynamic
	gcoSTREAM_CPUCacheOperation
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcoVERTEX
    gcoVERTEX_Bind
    gcoVERTEX_Construct
    gcoVERTEX_Destroy
    gcoVERTEX_DisableAttribute
    gcoVERTEX_EnableAttribute
    gcoVERTEX_Reset

    gcoVERTEXARRAY_Construct
    gcoVERTEXARRAY_Destroy
    gcoVERTEXARRAY_Bind
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcoBUFFER
    gcoBUFFER_Construct
    gcoBUFFER_Destroy
    gcoBUFFER_Reserve
    gcoBUFFER_Write
    gcoBUFFER_Commit
!ENDIF

!IFNDEF VIVANTE_NO_3D
    ; gcoCL
!ENDIF

    ; gcoPROFILER
    gcoPROFILER_Initialize
    gcoPROFILER_Destroy
    gcoPROFILER_Write
    gcoPROFILER_Flush
    gcoPROFILER_EndFrame
    gcoPROFILER_ShaderFS
    gcoPROFILER_ShaderVS

!IFNDEF VIVANTE_NO_3D
    ; gcoMATH
    gcoMATH_Log2in5dot5
    gcoMATH_UIntAsFloat
    gcoMATH_FloatAsUInt
    gcoMATH_UInt8AsFloat16
    gcoMATH_CompareEqualF
!ENDIF

!IF "$(VIVANTE_ENABLE_VG)" == "1"
    gcoHAL_GetVGEngine
	gcoVG_IsMaskSupported
	gcoVG_IsTargetSupported
	gcoVG_IsImageSupported
	gcoVG_PackColorComponent
	gcoVG_Construct
	gcoVG_Destroy
	gcoVG_SetTarget
	gcoVG_UnsetTarget
	gcoVG_SetUserToSurface
	gcoVG_SetSurfaceToImage
	gcoVG_EnableMask
	gcoVG_SetMask
	gcoVG_UnsetMask
	gcoVG_FlushMask
	gcoVG_EnableScissor
	gcoVG_SetScissor
	gcoVG_SetSolidPaint
	gcoVG_SetLinearPaint
	gcoVG_SetRadialPaint
	gcoVG_SetPatternPaint
	gcoVG_SetColorRamp
	gcoVG_SetPattern
	gcoVG_SetBlendMode
	gcoVG_FinalizePath
	gcoVG_Clear
	gcoVG_DrawPath
	gcoVG_DrawImage
	gcoVG_TesselateImage
	gcoVG_Blit
	gcoVG_ColorMatrix
	gcoVG_SeparableConvolve
	gcoVG_GaussianBlur
	gcoVG_SetTileFillColor
	gcoVG_EnableColorTransform
	gcoVG_SetColorTransform
	gcoVG_SetImageMode
	gcoVG_SetRenderingQuality
	gcoVG_SetFillRule
	gcoVG_EnableDither

	gcoVGHARDWARE_QueryPathStorage
	gcoVGHARDWARE_AssociateCompletion
	gcoVGHARDWARE_DeassociateCompletion
	gcoVGHARDWARE_CheckCompletion
	gcoVGHARDWARE_WaitCompletion
	gcoVGHARDWARE_FlushPipe
	gcoVGHARDWARE_AllocateLinearVideoMemory
	gcoVGHARDWARE_FreeVideoMemory
	gcoVGHARDWARE_ScheduleVideoMemory
	gcoVGHARDWARE_SplitAddress
	gcoVGHARDWARE_CombineAddress
	gcoVGHARDWARE_QueryCommandBuffer
	gcoVGHARDWARE_AlignToTile
	gcoVGHARDWARE_ReserveTask
    gcoVGHARDWARE_IsMaskSupported
    gcoVGHARDWARE_IsTargetSupported
    gcoVGHARDWARE_IsImageSupported
    gcoVGHARDWARE_IsFeatureAvailable
    gcoVGHARDWARE_SetVgTarget
    gcoVGHARDWARE_EnableMask
    gcoVGHARDWARE_SetVgMask
    gcoVGHARDWARE_FlushVgMask
    gcoVGHARDWARE_EnableScissor
    gcoVGHARDWARE_SetScissor
    gcoVGHARDWARE_PackColor32
    gcoVGHARDWARE_EnableColorTransform
    gcoVGHARDWARE_SetColorTransform
    gcoVGHARDWARE_SetPaintSolid
    gcoVGHARDWARE_SetPaintLinear
    gcoVGHARDWARE_SetPaintRadial
    gcoVGHARDWARE_SetPaintPattern
    gcoVGHARDWARE_SetPaintImage
    gcoVGHARDWARE_SetVgBlendMode
    gcoVGHARDWARE_VgClear
    gcoVGHARDWARE_DrawPath
    gcoVGHARDWARE_SetTessellation
    gcoVGHARDWARE_SetPathDataType
    gcoVGHARDWARE_DrawImage
    gcoVGHARDWARE_TesselateImage
    gcoVGHARDWARE_VgBlit
    gcoVGHARDWARE_ColorMatrix
    gcoVGHARDWARE_SeparableConvolve
    gcoVGHARDWARE_GaussianBlur
    gcoVGHARDWARE_SetVgImageMode
    gcoVGHARDWARE_SetRenderingQuality
    gcoVGHARDWARE_SetFillRule
    gcoVGHARDWARE_EnableDither
    gcoVGHARDWARE_PackColorComponent

    gcoHAL_Flush
	gcoHAL_AssociateCompletion
	gcoHAL_DeassociateCompletion
	gcoHAL_CheckCompletion
	gcoHAL_WaitCompletion
	gcoHAL_ScheduleVideoMemory
	gcoHAL_AllocateLinearVideoMemory
	gcoHAL_QueryPathStorage
	gcoHAL_FreeVideoMemory
	gcoHAL_CombineAddress
	gcoHAL_SplitAddress
	gcoHAL_GetAlignedSurfaceSize
	gcoHAL_QueryCommandBuffer
	gcoHAL_ReserveTask
	gcoHAL_GetHardwareType
	gcoHAL_QueryChipCount
	gcoHAL_QueryChipLimits
	gcoHAL_QueryChipFeature
!ENDIF

!IFNDEF VIVANTE_NO_3D
	gcoMD5_Init
	gcoMD5_Append
	gcoMD5_Finish
!ENDIF

<<
